IOS

abstract class IOS(val clientData: ByteArray?) : AttestationResult

Successful iOS attestation. If AttestationService.verifyKeyAttestation returned this, clientData contains the encoded attested public key. The DefaultAttestationService, returns IOS.Verified, also setting IOS.Verified.attestation. The NoopAttestationService returns IOS.NOOP (which is useful to as it enables skipping any and all attestation checks for unit testing, when used with dependency injection, for example).

Inheritors

Constructors

Link copied to clipboard
constructor(clientData: ByteArray?)

Types

Link copied to clipboard
class NOOP(val clientData: ByteArray?) : AttestationResult.IOS
Link copied to clipboard
class Verified(val attestation: ValidatedAttestation, val iosVersion: ParsedVersions, val assertedClientData: Pair<ByteArray, Assertion>?) : AttestationResult.IOS

Properties

Link copied to clipboard
Link copied to clipboard
abstract val iosDetails: String

Functions

Link copied to clipboard
open override fun toString(): String